home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 60.zip / BS1 part 60 / Imagemaster d4.adf / apa.lzh / hlp_arexx10 < prev    next >
Text File  |  1993-08-30  |  17KB  |  757 lines

  1. \ApAssist
  2. \: - This is the Quick Help for the ARexx in IM R/t -
  3. \: ----------------------------------------------------------
  4. \:   Written by David E. Patterson
  5. \: ----------------------------------------------------------
  6.  
  7. \font topaz.font 8
  8. \tc 1
  9. \wr
  10. \lj
  11. \dd "imh_descriptor"
  12.  
  13. \index "hlp_arexx2/padcanvas-relief"
  14. \toc "hlp_toc/toc"
  15. \help "aa_help/help
  16.  
  17. \node "punch"
  18. \title "Punch"
  19. \next "rect"
  20. \prev ""
  21. \{ \tc 15 Punch \} - Punches the secondary buffer into the primary buffer.
  22.  
  23. \nw    
  24. Usage - '\{ \tc 15 punch <contrast>\} '
  25.    
  26. \{ \ts bu Sample Script\} :
  27.     
  28. 'area';
  29. 'punch';
  30.     
  31. See Also: \{ \tc 15 \ts b \link " emboss " "hlp_arexx7/emboss"\}
  32.     
  33. * User Interface: \{ \tc 11   Compose Panel
  34.                         Special Compositions
  35.                             Punch\}
  36.  
  37. \endnode
  38.  
  39. \node "rect"
  40. \title "Retangular Mask"
  41. \next "rectarea"
  42. \prev "punch"
  43. \{ \tc 15 Rect \} - Defines a retangular mask.
  44.  
  45. \nw    
  46. Usage - '\{ \tc 15 rect <Xleft> <Ytop> <Xright> <Ybottom>\} '
  47.     
  48. \{ \ts bu Sample Script\} :
  49.     
  50. '\{ \tc 15 rect 10 10 630 380\} ';
  51. 'contrast 80';
  52.  
  53. \endnode
  54.  
  55. \node "rectarea"
  56. \title "Rectangular Area"
  57. \next "redadj"
  58. \prev "rect"
  59. \{ \tc 15 Rectarea \} -  Allows user to select a rectangular area.
  60.  
  61. \nw    
  62. Usage - '\{ \tc 15 rectarea\} ' 
  63.     
  64. \{ \ts bu Sample Script\} :
  65.     
  66. '\{ \tc 15 rectarea\} ';
  67. 'contrast';
  68.     
  69. \endnode
  70.  
  71. \node "redadj"
  72. \title "Red Adjust"
  73. \next "redcont"
  74. \prev "rectarea"
  75. \{ \tc 15 Redadj \} - Changes the red brightness for selected area.
  76.  
  77. \nw    
  78. Usage - '\{ \tc 15 redadj <amount>\} '
  79.     
  80. \{ \tc 15 Amount: 0 - 100 \}    
  81.     
  82. \{ \ts bu Sample Script\} :
  83.         
  84. 'area';
  85. '\{ \tc 15 redadj 89\} ';
  86.     
  87. See Also: \{ \tc 15 \ts b \link "blueadj " "hlp_arexx5/blueadj"
  88.           \link "greenadj" "hlp_arexx7/greenadj"\}
  89.  
  90.     
  91. * User Interface: \{ \tc 11    Process Panel
  92.                           R,G,B Corrections
  93.                               Red\}
  94.  
  95. \endnode
  96.  
  97. \node "redcont"
  98. \title "Red Contrast"
  99. \next "redraw"
  100. \prev "redadj"
  101. \{ \tc 15 Redcont \} - Changes the red contrast for a selected area.
  102.  
  103. \nw    
  104. Usage - '\{ \tc 15 redcont <amount>\} '
  105.     
  106. \{ \tc 15 Amount: 0 - 100\}
  107.     
  108. \{ \ts bu Sample Script\} :
  109.  
  110. 'area';
  111. '\{ \tc 15 redcont 89\} ';
  112.     
  113. See Also: \{ \ts b \tc 15 \link "bluecont " "hlp_arexx5/bluecont"
  114.           \link "greencont" "hlp_arexx7/greencont"\}
  115.           
  116.  
  117. * User Interface: \{ \tc 11  Process Panel
  118.                         R,G,B Corrections
  119.                             Red Cont.\}
  120.  
  121. \endnode
  122.  
  123. \node "redraw"
  124. \title "Re-Draw"
  125. \next "relief"
  126. \prev "redcont"
  127. \{ \tc 15 Redraw \} - Redraws the image using the current display settings.
  128.  
  129. \nw    
  130. Usage - '\{ \tc 15 redraw\} '   (fcredraw for FireCracker)
  131.     
  132. \{ \ts bu Sample Script\} : (Fragment)
  133.     
  134. options results; 
  135. 'jackin';
  136. jackptr = result; 
  137. options; 
  138. 'backuptoundo';
  139. address command; 
  140. 'cmpi:myfile '||jackptr;
  141. address(prtnme);
  142. '\{ \tc 15 redraw\} ';
  143.  
  144. * User Interface: \{ \tc 11    Key board \{ \ts b R \} Key\}
  145.  
  146. \endnode
  147.  
  148. \node "relief"
  149. \title "Relief"
  150. \next "remove"
  151. \prev "redraw"
  152. \{ \tc 15 Relief \} - Creates a relief (embossed) representation of the
  153. image.
  154.  
  155. \nw    
  156. Usage - '\{ \tc 15 relief <amount>\} '
  157.     
  158. \{ \tc 15 Amount: 0 - 100\}
  159.     
  160. \{ \ts bu Sample Script\} :
  161.     
  162. 'area';
  163. '\{ \tc 15 relief 89\} ';
  164.     
  165. * User Interface: \{ \tc 11   Process Panel
  166.                         Special Effects
  167.                             Relief\}
  168.  
  169. \endnode
  170.  
  171. \node "remove"
  172. \title "Remove"
  173. \next "rename"
  174. \prev "relief"
  175. \{ \tc 15 Remove \} - Removes features from a selected region.
  176.  
  177. \nw    
  178. Usage - '\{ \tc 15 remove <direction>\} '
  179.     
  180. \{ \tc 15 Direction: 1 = horizontal, 2 = vertical, 3 = radial \}
  181.     
  182. \{ \ts bu Sample Script\} :
  183.     
  184. 'area';
  185. '\{ \tc 15 remove 1\} ';
  186.     
  187. * User Interface: \{ \tc 11  Process Panel
  188.                         Filters
  189.                            Remove Feature\}
  190.  
  191. \endnode
  192.  
  193. \node "rename"
  194. \title "Re Name"
  195. \next "renderdefs"
  196. \prev "remove"
  197. \{ \tc 15 Rename \} - Renames any available buffer.
  198.  
  199. \nw    
  200. Usage - '\{ \tc 15 rename <#> <newname>\} '
  201.     
  202. \{ \ts bu Sample Script\} :
  203.     
  204. '\{ \tc 15 rename 2 CoolBuff\} ';
  205.  
  206. \endnode
  207.  
  208. \node "renderdefs"
  209. \title "Render Definitions"
  210. \next "renderext"
  211. \prev "rename"
  212. \{ \tc 15 Renderdefs \} - Returns a string that describes render file path
  213. and extension.
  214.  
  215. \nw    
  216. Usage - '\{ \tc 15 renderdefs\} '
  217.     
  218. \{ \ts bu Sample Script\} :
  219.     
  220. options results;
  221. '\{ \tc 15 renderdefs\} ';
  222. info = result;
  223. parse var info path ','extension;
  224. options;
  225.  
  226. See also:  \{ \tc 15 \ts b \link "blenddefs  " "hlp_arexx5/blenddefs"
  227.            \link "imagedefs  " "hlp_arexx7/imagedefs"
  228.            \link "macrodefs  " "hlp_arexx8/macrodefs"
  229.            \link "palettedefs" "hlp_arexx9/palettedefs"\}
  230.  
  231. \endnode
  232.  
  233. \node "renderext"
  234. \title "Render Extension"
  235. \next "renderpath"
  236. \prev "renderdefs"
  237. \{ \tc 15 Renderext \} - Sets a new extension for saving rendered images.
  238.  
  239. \nw    
  240. Usage - '\{ \tc 15 renderext <newextension>\} '
  241.     
  242. \{ \ts bu Sample Script\} :
  243.           
  244. options results;
  245. 'askstring "New Extension:" "rnd"'name;
  246. name = result;
  247. options;
  248. '\{ \tc 15 renderext\} ' name;         
  249.  
  250. See Also: \{ \tc 15 \ts b \link "blendext  " "hlp_arexx5/blendext"
  251.           \link "imgageext " "hlp_arexx7/imageext"     
  252.           \link "macroext  " "hlp_arexx8/macroext"
  253.           \link "paletteext" "hlp_arexx9/paletteext"\}
  254.                 
  255. * User Interface: \{ \tc 11  Setup Panel
  256.                        Render Ext\}
  257.  
  258. \endnode
  259.  
  260. \node "renderpath"
  261. \title "Render Path"
  262. \next "ric"
  263. \prev "renderext"
  264. \{ \tc 15 Renderpath \} - Sets a new path for saving rendered images.
  265.  
  266. \nw    
  267. Usage - '\{ \tc 15 renderpath <newpath>\} '
  268.     
  269. \{ \ts bu Sample Script\} :
  270.     
  271. options results;
  272. 'askstring "New_Path" "Work:renders"'name;
  273. path = result;
  274. options;
  275. '\{ \tc 15 renderpath\} ' path;
  276.  
  277. See Also: \{ \tc 15 \ts b \link "blendpath  " "hlp_arexx5/blendpath"
  278.           \link "imgagepath " "hlp_arexx7/imagepath"     
  279.           \link "macropath  " "hlp_arexx8/macropath"
  280.           \link "palettepath" "hlp_arexx9/palettepath"\}
  281.  
  282. \endnode
  283.  
  284. \node "ric"
  285. \title "Remove Isolated Chunks"
  286. \next "rip"
  287. \prev "renderpath"
  288. \{ \tc 15 Ric \} - Removes isolated chunks from a selected region.
  289.  
  290. \nw    
  291. Usage - '\{ \tc 15 ric <Effect> <chunksize>\} '
  292.    
  293. \{ \tc 15 Effect:     1 to 100
  294. Chuncksize: 0 to 40\}
  295.     
  296. \{ \ts bu Sample Script\} :
  297.      
  298. 'area';
  299. '\{ \tc 15 ric 50 10\} ';
  300.  
  301. * User Interface: \{ \tc 11   
  302.                         Filters
  303.                            Remove Chunk\}
  304.  
  305. \endnode
  306.  
  307. \node "rip"
  308. \title "Remove Isolated Pixels"
  309. \next "ripple"
  310. \prev "ric"
  311. \{ \tc 15 Rip \} - Removes isolated pixels from a selected region.
  312.  
  313. \nw    
  314. Usage - '\{ \tc 15 rip <effect>\} '
  315.         '\{ \tc 15 rip <effect> <chunksize>\} '
  316.             
  317. \{ \ts bu Sample Script\} :
  318.     
  319. 'area';
  320. '\{ \tc 15 rip 40 3\} ';
  321.     
  322. * User Interface: \{ \tc 11   
  323.                         Filters
  324.                            Remove Pixel\}
  325.  
  326. \endnode
  327.  
  328. \node "ripple"
  329. \title "Ripple"
  330. \next "ris"
  331. \prev "rip"
  332. \{ \tc 15 Ripple \} - Generates an effect similar to dropping a stone in a
  333. pond.
  334.  
  335. \nw    
  336. Usage - '\{ \tc 15 ripple <wavelength> <magnitude> <phase>\} '
  337.     
  338. \{ \tc 15 Wave length:    In pixels
  339. Magnitude:      0 to 100
  340. Phase:          0 to 360 degrees\}
  341.     
  342. \{ \ts bu Sample Script\} :
  343.     
  344. 'area';
  345. '\{ \tc 15 ripple 80 30 200\} ';
  346.     
  347. * User Interface: \{ \tc 11   
  348.                         Geometric Transformations
  349.                              Radial Wave\}
  350.  
  351. \endnode
  352.  
  353. \node "ris"
  354. \title "Remove Isolated Streaks"
  355. \next "rollimage"
  356. \prev "ripple"
  357. \{ \tc 15 Ris \} - Removes isolated streaks from a selected region.
  358.  
  359. \nw    
  360. Usage - '\{ \tc 15 ris <horizontal> <vertical>\} '
  361.   
  362. \{ \tc 15 Horizontal: 1 - 100%
  363. Vertical:   1 - 100%\}
  364.     
  365. \{ \ts bu Sample Script\} :
  366.   
  367. 'area';
  368. '\{ \tc 15 ris 50 50\} ';
  369.     
  370. * User Interface: \{ \tc 11   
  371.                         Filters 
  372.                             Remove Streak\}
  373.  
  374. \endnode
  375.  
  376. \node "rollimage"
  377. \title "Roll Image"
  378. \next "rotate"
  379. \prev "ris"
  380. \{ \tc 15 Rollimage \} - Rolls image horizontally and/or vertically.
  381.     
  382. Rolls an image horizontally, vertically or in both directions.  In \{ \ts b
  383. wrap mode \}  the image that rolls off the edge will appear on the opposite
  384. edge. \{ \ts b Edge Fill \} discards pixels that are rolled off the edge, the
  385. incoming edge is filled with a duplicate of the receeding edge of the image.
  386. \{ \ts b Pad with Color \} discards pixels that are rolled off the edge and
  387. fills the incoming edge with a solid color, set in the process panel's \{ \tc
  388. 10 \ts i Set forground color\} .
  389.  
  390. \nw    
  391. Usage - '\{ \tc 15 rollimage <Roll_X> <Roll_Y> <Mode>\} '
  392.     
  393. \{ \tc 15 Roll_X:   Negative X - moves image left  Possitive X - moves image right
  394. Roll_Y:   Negative Y - moves image up    Possitive Y - moves image left
  395. Mode:     0 = Wrap, 1 = Edge Fill, 2 = Color Fill \}
  396.     
  397. \{ \ts bu Sample Script\} :
  398.     
  399. 'area';    
  400. '\{ \tc 15 rollimage\} ' 10 10 0;      
  401.     
  402. * User Interface: \{ \tc 11   Process Panel 
  403.                         Geometric Transformations
  404.                             Roll Image\}
  405.  
  406. \endnode
  407.  
  408. \node "rotate"
  409. \title "Rotate"
  410. \next "rot90"
  411. \prev "rollimage"
  412. \{ \tc 15 Rotate \} - Creates a new buffer from a selected region and rotates
  413. it.
  414.  
  415. \nw    
  416. Usage - '\{ \tc 15 Rotate <rotangle> <aspect> [newname]\} '
  417.     
  418. \{ \tc 15 Rotangle:  0 to 360 degrees
  419. Aspect:    Aspect Ratio
  420. Newname:   Optional name for new buffer\}
  421.     
  422. \{ \ts bu Sample Script\} :
  423.     
  424. 'area';
  425. '\{ \tc 15 rotate 45 72\} ';
  426.     
  427. * User Interface: \{ \tc 11   Process Panel
  428.                         Geometric Transformation
  429.                             Rotate Clip\}
  430.  
  431. \endnode
  432.  
  433. \node "rot90"
  434. \title "Rotate 90 Degrees"
  435. \next "rtile"
  436. \prev "rotate"
  437. \{ \tc 15 Rot90 \} - Creates a new buffer from a selected region.
  438.  
  439. New buffer created from selected region is rotated in multiples of 90 degrees
  440. from the original.
  441.     
  442. \nw    
  443. Usage - '\{ \tc 15 rot90 <step>\} '
  444.     
  445. \{ \tc 15 Step:   1 = 90 degrees counter-clockwise
  446.         2 = 90 degrees clockwise
  447.         3 = 180 degrees\}
  448.             
  449. \{ \ts bu Sample Script\} :
  450.     
  451. 'area';
  452. '\{ \tc 15 rot90 2\} ';
  453.     
  454. See Also: \{ \tc 15 \ts b \link "rotate" "hlp_arexx10/rotate"\}
  455.  
  456. \endnode
  457.  
  458. \node "rtile"
  459. \title "Random Tiling"
  460. \next "rubthru"
  461. \prev "rot90"
  462. \{ \tc 15 Rtile \} - Causes random tiling to occur in the selected region.
  463.  
  464. \nw    
  465. Usage - '\{ \tc 15 rtile <tile_length>\} '
  466.     
  467. \{ \tc 15 Tile length: length of tiles in pixels \}
  468.     
  469. \{ \ts bu Sample Script\} :
  470.     
  471. 'area';
  472. options results;
  473. 'askprop length: 100 0 200';
  474. length = result;
  475. options;
  476. '\{ \tc 15 rtile\} ' length;
  477.     
  478. * User Interface: \{ \tc 11   Process Panel
  479.                         Special Effects
  480.                             Random Tile\}
  481.  
  482. \endnode
  483.  
  484. \node "rubthru"
  485. \title "Rub Through / Rubthru"
  486. \next "sat"
  487. \prev "rtile"
  488. \{ \tc 15 Rubthrough \} - Rubs the secondary buffer through into the primary
  489. buffer.
  490.     
  491. Inserts the section of the secondary buffer that corresponds with the
  492. selected region of the primary buffer, as if the secondary buffer and the
  493. primary buffer are the same size.
  494.     
  495. \nw
  496. Usage - '\{ \tc 15 rubthru\} '
  497.     
  498. \{ \ts bu Sample Script\} :
  499.     
  500. 'area';
  501. '\{ \tc 15 rubthru\} ';
  502.  
  503. * User Interface: \{ \tc 11   Compose Panel
  504.                         Linear Compositions
  505.                             Rub-Thru\}
  506.  
  507. \endnode
  508.  
  509. \node "sat"
  510. \title "Saturation"
  511. \next "save"
  512. \prev "rubthru"
  513.  
  514. \{ \tc 15 Sat \} - Changes the saturation of an area.
  515.     
  516. Changes the saturation of each pixel without changing the hue.
  517.  
  518. \nw    
  519. Usage - '\{ \tc 15 sat <effect>\} '
  520.     
  521. \{ \tc 15 Effect: 0 to 100;\}
  522.     
  523. \{ \ts bu Sample Script\} :
  524.     
  525. 'area';
  526. '\{ \tc 15 sat 50\} ';
  527.     
  528. * User Interface: \{ \tc 11   Process Panel
  529.                         Standard Adjustments
  530.                             Saturation\}
  531.  
  532. \endnode
  533.  
  534. \node "save"
  535. \title "Save"
  536. \next "saveimask"
  537. \prev "sat"
  538. \{ \tc 15 Save \} - Saves the selected image buffer.
  539.  
  540. \nw    
  541. Usage - '\{ \tc 15 save <buffer #>\} '
  542.     
  543. \{ \ts bu Sample Script\} :
  544.     
  545. '\{ \tc 15 save 4\} ';
  546.  
  547. \endnode
  548.  
  549. \node "saveimask"
  550. \title "Save Image Mask"
  551. \next "savemask"
  552. \prev "save"
  553. \{ \tc 15 Saveimask \} - Saves the image mask (the valid image area mask).
  554.  
  555. \nw    
  556. Usage - '\{ \tc 15 saveimask <complete_filename>\} ';
  557.     
  558. \{ \ts bu Sample Script\} :
  559.    
  560. '\{ \tc 15 saveimask work:masks/mymask.msk\} ';
  561.     
  562. * User Interface: \{ \tc 11   File I/O
  563.                         Save Image Mask\}
  564.  
  565. \endnode
  566.  
  567. \node "savemask"
  568. \title "Save Mask"
  569. \next "savepal"
  570. \prev "saveimask"
  571. \{ \tc 15 Savemask \} - Saves the main mask (the region selection mask).
  572.  
  573. \nw    
  574. Usage - '\{ \tc 15 savemask <complete_filename>\} ';
  575.     
  576. \{ \ts bu Sample Script\} :
  577.     
  578. 'area';
  579. 'contrast 50';
  580. '\{ \tc 15 savemask main:images/masks/areamask.msk\} ';
  581.     
  582. * User Interface: \{ \tc 11   File I/O
  583.                        Save Image Mask\}
  584.  
  585. \endnode
  586.  
  587. \node "savepal"
  588. \title "Save Palette"
  589. \next "savepal64"
  590. \prev "savemask"
  591. \{ \tc 15 Savepal \} - Saves the palette of the last 256 color render.
  592.  
  593. \nw    
  594. Usage -   '\{ \tc 15 savepal name\} '
  595.     
  596. \{ \ts bu Sample Script\} :
  597.     
  598. 'savepal name';
  599.     
  600. * User Interface: \{ \tc 11   Paint Panel
  601.                         Adjust Palette
  602.                              Sav\}
  603.  
  604. \endnode
  605.  
  606.  
  607. \node "savepal64"
  608. \title "Save 64 color palette"
  609. \next "sbuffers"
  610. \prev "savepal"
  611. \{ \tc 15 Savepal64 \} - Saves the palette that was generated by the last 64
  612. color render.
  613.  
  614. \nw    
  615. Usage - '\{ \tc 15 savepal64 <filename>\} ';
  616.     
  617. \{ \ts bu Sample Script\} :
  618.  
  619. '\{ \tc 15 savepal64 pal64\} ';
  620.     
  621. \endnode
  622.  
  623. \node "sbuffers"
  624. \title Sbuffers
  625. \next "secondary"
  626. \prev "savepal64"
  627. \{ \tc 15 Sbuffers \} - Returns all buffers execpt the primary buffer and
  628. secondary buffer.
  629. \nw
  630.  
  631. Usage - '\{ \tc 15 sbuffers\} '
  632.     
  633. \{ \ts bu Sample Script\} :
  634.     
  635. options results;
  636. '\{ \tc 15 sbuffers\} ';
  637. buffs = result;
  638. options;
  639. parse var buffs buffname','buffnumber;
  640.  
  641. See Also: \{ \tc 15 \ts b \link "buffers  " "hlp_arexx5/buffers"
  642.           \link "current  " "hlp_arexx6/current"     
  643.           \link "obuffers " "hlp_arexx9/obuffers"
  644.           \link "secondary" "hlp_arexx10/secondary"\}
  645.            
  646. \endnode
  647.  
  648. \node "secondary"
  649. \title Secondary
  650. \next "setblend"
  651. \prev "sbuffers"
  652. \{ \tc 15 Secondary Buffer \} - Returns information about the secondary
  653. buffer.
  654.  
  655. Returns a string with the following information about the secondary buffer:
  656. Buffer Name, Buffer Number, X Dim, Y Dim, X Dim * Y Dim, Memory Used, Parent
  657. name, and the Parent Number.
  658.     
  659. \nw    
  660. Usage -  '\{ \tc 15 secondary\} ';
  661.     
  662. \{ \ts bu Sample Script\} :
  663.      
  664. options results;
  665. '\{ \tc 15 secondary\} ';
  666. info = result;
  667. options;
  668. parse var info bname','bnumber','xdim','ydim','xdimydim','memused','
  669.                parentname','parentnumber;
  670. 'newbuff' xdim ydim; 
  671.  
  672. \endnode
  673.  
  674. \node "setblend"
  675. \title "Setblend"
  676. \next "setmulti"
  677. \prev "secondary"
  678. \{ \tc 15 Setblend \} - Sets the blend transparency curves.
  679.  
  680. \nw    
  681. Usage - '\{ \tc 15 setblend <direction> <position> <value>\} '
  682.   
  683. \{ \tc 15 Direction:  1 = Up, 2 = right, 3 = down, 4 = left
  684. Position:   0 to 255
  685. Value:      0 (fully transparent) to 255 (opaque)\}
  686.     
  687. \{ \ts bu Sample Script\} :
  688.     
  689. 'entire';   
  690. options results;
  691. 'askprop Position: 50 0 255'
  692. position = result;
  693. 'askprop Blend: 0 0 255';
  694. blend = result;
  695. 'options';
  696. '\{ \tc 15 setblend 1\} ' position blend;
  697. 'merge';
  698.     
  699.     
  700. * User Interface: \{ \tc 11  Process Panel
  701.                         Set Blend\}
  702.     
  703. \endnode
  704.  
  705. \node "setmulti"
  706. \title "Set Multi" 
  707. \next "setpalette"
  708. \prev "setblend"
  709. \{ \tc 15 Setmulti \} - Sets all colors for the gradient fill function.
  710.  
  711. \nw
  712. Usage - 'setmulti <middlered> <middlegreen> <middleblue>
  713.                   <leftred>   <leftgreen>   <leftblue>  
  714.                   <leftred>   <rightgreen>  <rightblue> 
  715.                   <topred>    <topgreen>    <topblue> 
  716.                   <lowerred>  <lowergreen>  <lowerblue>'
  717.             
  718. \{ \ts bu Sample Script\} :
  719.   
  720. '\{ \tc 15 setmulti 10 20 30 180 150 160 70 80 90 100 110 120 130 140 150\} ';
  721. 'area';
  722. 'multifill 6';
  723.     
  724. * User Interface: \{ \tc 11   Process Panel 
  725.                          Set Gradient\}
  726.  
  727. \endnode
  728.  
  729. \node "setpalette"
  730. \title "Set Palette"
  731. \next ""
  732. \prev "setmulti"
  733. \{ \tc 15 Setpalette \} - Sets an individual palette color.
  734.  
  735. \{ \tc 15 Setpalette \} makes it possible to set the 256 palette colors
  736. individually.
  737.     
  738. \nw    
  739. Usage -     '\{ \tc 15 setpalette <entry#> <red> <green> <blue>\} ';  
  740.     
  741. \{ \tc 15 Entry:  0 to 255  palette entry number  
  742. Red:    0 to 255 
  743. Green:  0 to 255 
  744. Blue:   0 to 255 \}
  745.     
  746. \{ \ts bu Sample Script\} :
  747.     
  748. do i=0 to 255
  749.   '\{ \tc 15 setpalette' i 255-i 255-i 255-i\} ;
  750.    end;
  751.        
  752. * User Interface: \{ \tc 11   Paint Panel
  753.                         Adjust Palette\}
  754.  
  755. \endnode
  756.  
  757.